package br.ucb.rest.controle.action.impl;

import java.util.List;

import br.ucb.rest.controle.action.AbstractAction;
import br.ucb.rest.negocio.impl.CategoriaBOS;
import br.ucb.rest.persistencia.vo.CategoriaVO;

public class CadastroCardapioAction extends AbstractAction {
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 655877990022599467L;

	public CadastroCardapioAction(){
		super();
	}

	private List<CategoriaVO> colCategoriaVO;
	
	
	public String categorias(){
		CategoriaBOS bos = CategoriaBOS.getInstance();
		setColCategoriaVO(bos.recuperarTodos());
		return SUCCESS;
	}

	public List<CategoriaVO> getColCategoriaVO() {
		return colCategoriaVO;
	}

	public void setColCategoriaVO(List<CategoriaVO> colCategoriaVO) {
		this.colCategoriaVO = colCategoriaVO;
	}
}
